
L1 = [1, 2, 3, 4]
L2 = [5, 6, 7, 8, 9]

def mypower(x, y):
    '''此函数返回x的y次方'''
    return x ** y
for result in map(mypower, L2, L1):
    print(result)
print('-------------')
for result in map(lambda x, y: x ** y, L2, L1):
    print(result)